<script>
	import Sub from './sub.svelte';
	let sub = $state();
</script>

<Sub bind:this={sub} />
<button on:click={() => sub.count++}>{sub?.count} / {sub?.doubled}</button>
